package com.zhc.dejingapi.controller;


import com.zhc.dejingapi.common.result.Result;
import com.zhc.dejingapi.entity.vo.QingProductionOrderPoolEntityVo;
import com.zhc.dejingapi.service.QingZbProductionOrderPoolService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zhc
 * @since 2024-09-12
 */
@RestController
@RequestMapping("/qing-zb-production-order-pool-entity")
public class QingZbProductionOrderPoolController {

    @Resource
    private QingZbProductionOrderPoolService qingZbProductionOrderPoolService;
    @PostMapping("/addProductionOrderPool")
    public Result addProductionOrderPool(@RequestBody QingProductionOrderPoolEntityVo qingProductionOrderPoolEntity) throws IllegalAccessException {
        return qingZbProductionOrderPoolService.addProductionOrderPool(qingProductionOrderPoolEntity);
    }
}
